package cn.pugle.jodatime;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by tzp on 15-8-25.
 */
public class DateTest {
    public static void main(String[] args) {
        SimpleDateFormat dayFormat = new SimpleDateFormat("yyyy-MM-dd");
        Date today = new Date();
        System.out.println(dayFormat.format(today));//2015-08-25
        String[] strs = new String[10];
        strs[0] = "fsdf";
        for (String str : strs) {
            System.out.println(str);
        }
    }
}
